<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>コントロールパネル</title>
    
    <link href="./assets/styles/default.css" rel="stylesheet" />
	<script src="./assets/scripts/jquery-1.7.1.min.js" type="text/javascript"></script>
	<script src="./assets/scripts/import.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(function() {
        //categoryModal({ url:"select_category.php?keepThis=true&parent={$use_category}&TB_iframe=true&height=500&width=300&modal=false",mode:"tree" });
        var c1 = categoryModal({
            url:"select_category.php?keepThis=true&parent=3&TB_iframe=true&height=500&width=300&modal=false",
            mode:"tree",
            container:"#search_category",
            trigger:"#id_category a"
        });
		
		tableToThumbs({
			name : 4,
			type : 1,
			img  : 3,
			main : [4,5],
			info : [6,7,8,9,10,11]		
		});
    });
	</script>
	<style type="text/css">
		#search_form dt { width:90px; }
		#search_form dd { width:280px; }
		#search_form .classes dd { width:600px; }
	</style>
</head>
<body class="noTranslate">

<header id="dashboard_header">
	<h1>
    	<a href="index.php">コントロールパネル</a>
    </h1>
    <ul>
		<li id="rt_site">
			{assign var=url value='http://investment.bird-i.co.jp'}
			<span><a href="{$url}" target="_blank">サイトを確認</a></span>
		</li>
    	<li id="rt_admin">
    		<a href="javascript:;">
    			{$login.staff_name}
    		</a>
    	</li>
    	<li id="rt_dashboard">
    		<a href="index.php">Dash Board</a>
    	</li>
    	<li id="rt_logout">
    		<form id="form_logout" action="logout.php" method="post">
    			<input type="submit" id="button_logout" value="Logout" />
    		</form>
    	</li>
	</ul>
</header>

<div id="container">
	<aside id="accordion">
    	<div id="aside_inner">
    		{include file=$smarty.const.MENU_FILE}
        </div>
    </aside>
    
    <article>
    	<h2><span>&nbsp;</span>Estate Sale<p><a href="javascript:;">Open Plugins</a></p></h2>
        <nav>{include file='estate_sale/include/navi.inc.html' active='search'}</nav>
        
        <section id="content">
        	<h3>検索</h3>
                <div id="search_form" class="nofix">
                    <form name="form1" method="post" action="{$smarty.server.SCRIPT_NAME}" >
                    {include file='estate_sale/include/search_form.inc.html'}
                        <p class="search_submit">
                            <button type="submit" class="submit"><span>検索</span></button>
                        </p>
                        <input type="hidden" name="op" value="serach"/>
                        <input type="hidden" name="page_id" value=""/>
                    </form>
                </div>
                
			{if isset($list)}
                
				<p class="message">{if isset($pager->info.all)}{$pager->info.all|number_format}{else}0{/if}件 みつかりました</p>

				{if isset($pager->info.all) && $pager->info.all > 0}

					{include file='estate_sale/include/search_list.inc.html'}
					{include file='include/pager.inc.html'}
					
                {/if}
					
			{/if}
        </section>
    </article>
    
</div>

<footer id="dashboard_footer">Copyright (C) SHIFT Inc. / All rights reserved.</footer>

</body>
</html>